package se.zust.edu.dubbohello2.service.impl;

import org.apache.dubbo.config.annotation.Service;
import se.zust.edu.dubbohello2.dto.User;
import se.zust.edu.dubbohello2.service.HelloService;

@Service(version = "${hello.service.version}",application = "${dubbo.application.id}")
public class HelloServiceImpl implements HelloService {
    @Override
    public String sayHello(User user) {
        return "hello "+user.getUserName();
    }
}
